<div id="menu">
	<a href="./" 
	<?php
    if($_SESSION['role'] != 'admin'){
    	echo 'hidden = "true"';	
    }
	?>
    ">
    <div class="menu" id="homepage">AEP-Thesis</div>
    </a>
    <a href="list-customer.php"><div class="menu" id="customer">Customer</div></a>
    <a href="list-case.php"><div class="menu" id="case">Case</div></a>
    <a href="list-category.php"><div class="menu" id="category">Category</div></a>
    <a href="list-subcategory.php"><div class="menu" id="subcategory">SubCategory</div></a>
    <a href="list-product.php"><div class="menu" id="product">Product</div></a>
    <a href="list-order.php"><div class="menu" id="order">Order</div></a>
    <a href="cart-analysis.php"
     <?php
    if($_SESSION['role'] != 'admin'){
    	echo 'hidden = "true"';	
    }
	?>
    >
    <div class="menu" id="cartanalysis">Cart Analysis</div></a>
   
    <div class="menu2" id="user">Hi, <?php echo $_SESSION['username']; ?>. <a id="logout" href="logout.php">Logout</a></div>
</div>